
<!-- <footer class="footer footer-transparent d-print-none">
  <div style=" display: grid;place-items: center;">1</div>
</footer> -->
</div>
</div>

<!-- Libs JS -->
<script src="/static/tabler/libs/apexcharts/dist/apexcharts.min.js?1692870487" defer></script>
<script src="/static/tabler/libs/jsvectormap/dist/js/jsvectormap.min.js?1692870487" defer></script>
<script src="/static/tabler/libs/jsvectormap/dist/maps/world.js?1692870487" defer></script>
<script src="/static/tabler/libs/jsvectormap/dist/maps/world-merc.js?1692870487" defer></script>
<!-- Tabler Core -->
<script src="/static/tabler/js/tabler.min.js?1692870487" defer></script>
<script src="/static/tabler/js/demo.min.js?1692870487" defer></script>

<!-- Jquery -->
<script src="/static/js/jquery.min.js"></script>
<!-- Axios -->
<script src="/static/js/axios.min.js"></script>
<!-- Layer -->
<script src="/static/js/layer.min.js"></script>

<script>
  window.onload = function() {
    setNavActive();
  };

  function setNavActive(){
    var path = GetUrlRelativePath();
    if(path == '/' || path == '' || path == 'index'){
      $("#"+"/".replace(/\//g, '\\/')).addClass('active');
      return;
    }
    $("#"+path.replace(/\//g, '\\/')).addClass('active');
  }

  function GetUrlRelativePath()
  {
    var url = document.location.toString();
    var arrUrl = url.split("//");
    var start = arrUrl[1].indexOf("/");
    var relUrl = arrUrl[1].substring(start);//stop省略，截取从start开始到结尾的所有字符
    if(relUrl.indexOf("?") != -1){
      relUrl = relUrl.split("?")[0];
    }
    if(relUrl.indexOf("#") != -1){
      relUrl = relUrl.split("#")[0];
    }
    return relUrl;
  }
</script>
</body>
</html>